package com.gopay.common.domain.bank;

import java.io.Serializable;
import java.math.BigDecimal;

import com.thoughtworks.xstream.annotations.XStreamOmitField;

/** 小额免密支付父类对象
 * @ClassName: MicroPayBaseMessage 
 * @author w_jiqing 
 * @date 2017年5月25日 上午10:28:11  
 */ 
public class MicroPayBaseMessage extends BaseMessage implements Serializable{
    

    private static final long serialVersionUID = -3081484321229436884L;

    /**
     * 设备号
     */
    @XStreamOmitField
    public String deviceInfo;
    
    /**
     * 授权码
     */
    @XStreamOmitField
    public String authCode;
    
    /**
     * 商品描述
     */
    @XStreamOmitField
    public String goodsBody;
    
    /**
     * 附加信息
     */
    @XStreamOmitField
    public String attach;

    /**
     *  成功失败标识
     */
    @XStreamOmitField
    public boolean isSuccess = false;
    
    /**
     * 商品标记
     */
    @XStreamOmitField
    public String goodsTag;
    
    /**
     * 终端IP(订单生成的机器IP)
     */
    @XStreamOmitField
    public String mchCreateIp;
    
    /**
     * 错误码
     */
    @XStreamOmitField
    public String errCode;
    /**
     * 错误描述
     */
    @XStreamOmitField
    public String errMessage;
    
    /**
     * 原订单金额
     */
    @XStreamOmitField
    public BigDecimal tkOriAmount;
    
    public String getDeviceInfo() {
        return deviceInfo;
    }
    public void setDeviceInfo(String deviceInfo) {
        this.deviceInfo = deviceInfo;
    }
    public String getAuthCode() {
        return authCode;
    }
    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }
    public String getGoodsBody() {
        return goodsBody;
    }
    public void setGoodsBody(String goodsBody) {
        this.goodsBody = goodsBody;
    }
    public String getAttach() {
        return attach;
    }
    public void setAttach(String attach) {
        this.attach = attach;
    }
    public boolean isSuccess() {
        return isSuccess;
    }
    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }
    public String getGoodsTag() {
        return goodsTag;
    }
    public void setGoodsTag(String goodsTag) {
        this.goodsTag = goodsTag;
    }
    public String getMchCreateIp() {
        return mchCreateIp;
    }
    public void setMchCreateIp(String mchCreateIp) {
        this.mchCreateIp = mchCreateIp;
    }
    public String getErrCode() {
        return errCode;
    }
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
    public String getErrMessage() {
        return errMessage;
    }
    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }
    public BigDecimal getTkOriAmount() {
        return tkOriAmount;
    }
    public void setTkOriAmount(BigDecimal tkOriAmount) {
        this.tkOriAmount = tkOriAmount;
    }
    
    

}
